<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Livox SDK API: livox::CommPacket Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structlivox_1_1_comm_packet.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structlivox_1_1_comm_packet-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">livox::CommPacket Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="protocol_8h_source.html">protocol.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a44673e979d10ca9f967fb6a75ffc5612"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a44673e979d10ca9f967fb6a75ffc5612">packet_type</a></td></tr>
<tr class="separator:a44673e979d10ca9f967fb6a75ffc5612"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a670bd53de47c748164570decdb70c968"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a670bd53de47c748164570decdb70c968">protocol</a></td></tr>
<tr class="separator:a670bd53de47c748164570decdb70c968"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4df6086cbac3cbaecedfda76d6c11e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a7d4df6086cbac3cbaecedfda76d6c11e">protocol_version</a></td></tr>
<tr class="separator:a7d4df6086cbac3cbaecedfda76d6c11e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af288b1ff799a0d0a9a1a8d0870bb5dd0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#af288b1ff799a0d0a9a1a8d0870bb5dd0">cmd_set</a></td></tr>
<tr class="separator:af288b1ff799a0d0a9a1a8d0870bb5dd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69485605f4d8113b178163d388defa89"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a69485605f4d8113b178163d388defa89">cmd_code</a></td></tr>
<tr class="separator:a69485605f4d8113b178163d388defa89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae14b486474c57d0f82ed5c3c9e3e807"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#aae14b486474c57d0f82ed5c3c9e3e807">sender</a></td></tr>
<tr class="separator:aae14b486474c57d0f82ed5c3c9e3e807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54efd9bf0a8bcd7f3e54219dce99f966"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a54efd9bf0a8bcd7f3e54219dce99f966">sub_sender</a></td></tr>
<tr class="separator:a54efd9bf0a8bcd7f3e54219dce99f966"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd2c32ceba40ea285a0ca2990a7f345d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#abd2c32ceba40ea285a0ca2990a7f345d">receiver</a></td></tr>
<tr class="separator:abd2c32ceba40ea285a0ca2990a7f345d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48ad41ffbcd6ae5794668ba8c02f709"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#ad48ad41ffbcd6ae5794668ba8c02f709">sub_receiver</a></td></tr>
<tr class="separator:ad48ad41ffbcd6ae5794668ba8c02f709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8723e87d47e47da53e6741f82cc59faf"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a8723e87d47e47da53e6741f82cc59faf">seq_num</a></td></tr>
<tr class="separator:a8723e87d47e47da53e6741f82cc59faf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ba25954258f461a079911c180da2669"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a7ba25954258f461a079911c180da2669">data</a></td></tr>
<tr class="separator:a7ba25954258f461a079911c180da2669"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9586bf3ae947c5809c25d40aa3091ef7"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a9586bf3ae947c5809c25d40aa3091ef7">data_len</a></td></tr>
<tr class="separator:a9586bf3ae947c5809c25d40aa3091ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03bb9a2b86f81a5000369d43ceed043c"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html#a03bb9a2b86f81a5000369d43ceed043c">padding</a></td></tr>
<tr class="separator:a03bb9a2b86f81a5000369d43ceed043c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00043">43</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a69485605f4d8113b178163d388defa89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69485605f4d8113b178163d388defa89">&#9670;&nbsp;</a></span>cmd_code</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t livox::CommPacket::cmd_code</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00048">48</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="af288b1ff799a0d0a9a1a8d0870bb5dd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af288b1ff799a0d0a9a1a8d0870bb5dd0">&#9670;&nbsp;</a></span>cmd_set</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t livox::CommPacket::cmd_set</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00047">47</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a7ba25954258f461a079911c180da2669"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ba25954258f461a079911c180da2669">&#9670;&nbsp;</a></span>data</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t* livox::CommPacket::data</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00054">54</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a9586bf3ae947c5809c25d40aa3091ef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9586bf3ae947c5809c25d40aa3091ef7">&#9670;&nbsp;</a></span>data_len</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t livox::CommPacket::data_len</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00055">55</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a44673e979d10ca9f967fb6a75ffc5612"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44673e979d10ca9f967fb6a75ffc5612">&#9670;&nbsp;</a></span>packet_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t livox::CommPacket::packet_type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00044">44</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a03bb9a2b86f81a5000369d43ceed043c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03bb9a2b86f81a5000369d43ceed043c">&#9670;&nbsp;</a></span>padding</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t livox::CommPacket::padding</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00056">56</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a670bd53de47c748164570decdb70c968"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a670bd53de47c748164570decdb70c968">&#9670;&nbsp;</a></span>protocol</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t livox::CommPacket::protocol</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00045">45</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a7d4df6086cbac3cbaecedfda76d6c11e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d4df6086cbac3cbaecedfda76d6c11e">&#9670;&nbsp;</a></span>protocol_version</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t livox::CommPacket::protocol_version</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00046">46</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="abd2c32ceba40ea285a0ca2990a7f345d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd2c32ceba40ea285a0ca2990a7f345d">&#9670;&nbsp;</a></span>receiver</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t livox::CommPacket::receiver</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00051">51</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="aae14b486474c57d0f82ed5c3c9e3e807"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae14b486474c57d0f82ed5c3c9e3e807">&#9670;&nbsp;</a></span>sender</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t livox::CommPacket::sender</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00049">49</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a8723e87d47e47da53e6741f82cc59faf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8723e87d47e47da53e6741f82cc59faf">&#9670;&nbsp;</a></span>seq_num</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t livox::CommPacket::seq_num</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00053">53</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="ad48ad41ffbcd6ae5794668ba8c02f709"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad48ad41ffbcd6ae5794668ba8c02f709">&#9670;&nbsp;</a></span>sub_receiver</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t livox::CommPacket::sub_receiver</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00052">52</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a id="a54efd9bf0a8bcd7f3e54219dce99f966"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54efd9bf0a8bcd7f3e54219dce99f966">&#9670;&nbsp;</a></span>sub_sender</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t livox::CommPacket::sub_sender</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="protocol_8h_source.html#l00050">50</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>sdk_core/include/comm/<a class="el" href="protocol_8h_source.html">protocol.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacelivox.html">livox</a></li><li class="navelem"><a class="el" href="structlivox_1_1_comm_packet.html">CommPacket</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>
